﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace PCR
{
    public class UserAccount
    {
        public string UserName { get; set; }

        public string Password { get; set; }
    }
    
    public class PCRCheckData
    {
        public string VirusType
        {
            get { return this._virusType; }
            set { this._virusType = value; }
        }
        string _virusType = string.Empty;

        public double RefCellCT
        {
            get { return this._refCellCount; }
            set { this._refCellCount = value; }
        }
        private double _refCellCount = 0;

        public double VirusCT
        {
            get { return this._virusCount; }
            set { this._virusCount = value; }
        }
        private double _virusCount = 0;

        public double RevisedCT { get; set; }

        public DateTime CheckTime
        {
            get { return this._checkTime; }
            set { this._checkTime = value; }
        }
        private DateTime _checkTime = DateTime.MinValue;
    }
        
    public class UserInforData
    {
        public string Index
        {
            get { return this._index;  }
            set { this._index = value; }
        }

        public string Photo
        {
            get { return this._photoPath; }
            set { this._photoPath = value; }
        }

        public string Name
        {
            get { return this._name;  }
            set { this._name = value; }
        }

        public bool Gender
        {
            get { return this._gender; }
            set { this._gender = value; }
        }

        public string ContactNum
        {
            get { return this._contactNum;  }
            set { this._contactNum = value; }
        }

        public IList<PCRCheckData> CheckDataList
        {
            get { return this._checkDataList; }
        }
        
        private string _index = "0";
        private string _photoPath = string.Empty;
        private string _name = string.Empty;
        private bool _gender = false;
        private string _contactNum = string.Empty;
        private IList<PCRCheckData> _checkDataList = new List<PCRCheckData>();

    }
}
